package com.neolix.watch;

import android.app.Activity;
import android.os.Bundle;
import android.util.DisplayMetrics;
import android.util.Log;
import android.view.View;
import android.widget.AdapterView;
import android.widget.Toast;

import com.neolix.watch.adapter.ImageAdapter;
import com.neolix.watch.view.GalleryFlow;

public class ActivityMain extends Activity {

    public static int w, h;
    private String TAG = ActivityMain.class.getSimpleName();

    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.layout_gallery);
        Integer[] images = { R.drawable.ic_screen_1, R.drawable.ic_screen_2,
                R.drawable.ic_screen_1};

        ImageAdapter adapter = new ImageAdapter(this, images);
        adapter.createReflectedImages();

        GalleryFlow galleryFlow = (GalleryFlow) findViewById(R.id.Gallery01);
        galleryFlow.setSpacing(50);
        galleryFlow.setAdapter(adapter);
    }
}